package observer;

import java.util.Observable;
import java.util.Observer;

// First observer
class FirstNewsReader implements Observer {

    public void update(Observable obj, Object arg) {
        System.out.println("FirstNewsReader got The news:" + (String) arg);
    }
}